﻿package com.eitb.util.logging{
	public class Level {
		public static const SEVERE:Level = new Level("SEVERE", 1000);
		public static const WARNING:Level = new Level("WARNING", 900);
		public static const INFO:Level = new Level("INFO", 800);
		public static const CONFIG:Level = new Level("CONFIG", 700);
		public static const FINE:Level = new Level("FINE", 500);
		public static const FINER:Level = new Level("FINER", 400);
		public static const FINEST:Level = new Level("FINEST", 300);
		public static const ALL:Level = new Level("ALL", 0);

		public var id:String;
		public var priority:int;
		public function Level(id:String, priority:int) {
			this.id= id;
			this.priority = priority;
		}
		
		public function getId():String {
			return this.id;
		}
	}
}